package org.llc.authorization.mapper;

import org.springframework.stereotype.Repository;
import org.llc.common.starter.model.Authority;

import java.util.List;

/**
 * 用户权限Mapper
 *
 * @author llc
 * @date 2018/4/2 19:50
 * @since 1.0.0
 */
@Repository
public interface AuthorityMapper {

    /**
     * 按角色id查询权限集合
     *
     * @param roleId 角色id
     * @return java.util.List<com.mogu.oauth.model.Authority>
     * @author llc
     * @date 2019/2/22 16:08
     */
    List<Authority> selByRoleId(Long roleId);
}